import request from '@/utils/request'

// 查询车站图纸列表
export function listStation_drawing(query) {
  return request({
    url: '/system/station_drawing/list',
    method: 'get',
    params: query
  })
}

// 查询车站图纸详细
export function getStation_drawing(id) {
  return request({
    url: '/system/station_drawing/' + id,
    method: 'get'
  })
}

// 新增车站图纸
export function addStation_drawing(data) {
  return request({
    url: '/system/station_drawing',
    method: 'post',
    data: data
  })
}

// 修改车站图纸
export function updateStation_drawing(data) {
  return request({
    url: '/system/station_drawing',
    method: 'put',
    data: data
  })
}

// 删除车站图纸
export function delStation_drawing(id) {
  return request({
    url: '/system/station_drawing/' + id,
    method: 'delete'
  })
}

// 根据用户获取车站图纸详细信息
export function getStation_drawingByUser() {
  return request({
    url: '/system/station_drawing/getDrawingByUser',
    method: 'get'
  })
}
